package com.serviceprovider.business.module.admin.shipping.model;

//~--- JDK imports ------------------------------------------------------------

import java.util.Date;

public class Shipping {
    private Integer dropoffOption;
    private String  fromAddress;
    private String  fromCity;
    private String  fromCompany;
    private String  fromCountry;
    private String  fromFax;
    private String  fromName;
    private String  fromPhone;
    private String  fromState;
    private String  fromZipCode;
    private String  onDeliveryEmail;
    private String  onShipEmail;
    private Integer orderId;
    private String  paymentTo;
    private Integer pickupOption;
    private Integer serviceOption;
    private Date    shipDate;
    private Integer shipId;
    private Integer shipmentStatus;
    private String  toAddress;
    private String  toCity;
    private String  toCompany;
    private String  toCountry;
    private String  toFax;
    private String  toName;
    private String  toPhone;
    private String  toState;
    private String  toZipCode;

    @Override
    public boolean equals(Object obj) {
        if ((obj == null) ||!(obj instanceof Shipping)) {
            return false;
        }

        Shipping b  = (Shipping) obj;
        boolean  eq = ((shipId == null) && (b.shipId == null)) || ((shipId != null) && shipId.equals(b.shipId));

        if (!eq) {
            return false;
        }

        return true;
    }

    @Override
    public int hashCode() {
        return (shipId != null)
               ? shipId.hashCode()
               : 0;
    }

    public Integer getShipId() {
        return shipId;
    }

    public void setShipId(Integer shipId) {
        this.shipId = shipId;
    }

    public String getFromName() {
        return fromName;
    }

    public void setFromName(String fromName) {
        this.fromName = fromName;
    }

    public String getFromCompany() {
        return fromCompany;
    }

    public void setFromCompany(String fromCompany) {
        this.fromCompany = fromCompany;
    }

    public String getFromAddress() {
        return fromAddress;
    }

    public void setFromAddress(String fromAddress) {
        this.fromAddress = fromAddress;
    }

    public String getFromCity() {
        return fromCity;
    }

    public void setFromCity(String fromCity) {
        this.fromCity = fromCity;
    }

    public String getFromState() {
        return fromState;
    }

    public void setFromState(String fromState) {
        this.fromState = fromState;
    }

    public String getFromCountry() {
        return fromCountry;
    }

    public void setFromCountry(String fromCountry) {
        this.fromCountry = fromCountry;
    }

    public String getFromZipCode() {
        return fromZipCode;
    }

    public void setFromZipCode(String fromZipCode) {
        this.fromZipCode = fromZipCode;
    }

    public String getFromPhone() {
        return fromPhone;
    }

    public void setFromPhone(String fromPhone) {
        this.fromPhone = fromPhone;
    }

    public String getFromFax() {
        return fromFax;
    }

    public void setFromFax(String fromFax) {
        this.fromFax = fromFax;
    }

    public String getToName() {
        return toName;
    }

    public void setToName(String toName) {
        this.toName = toName;
    }

    public String getToCompany() {
        return toCompany;
    }

    public void setToCompany(String toCompany) {
        this.toCompany = toCompany;
    }

    public String getToAddress() {
        return toAddress;
    }

    public void setToAddress(String toAddress) {
        this.toAddress = toAddress;
    }

    public String getToCity() {
        return toCity;
    }

    public void setToCity(String toCity) {
        this.toCity = toCity;
    }

    public String getToState() {
        return toState;
    }

    public void setToState(String toState) {
        this.toState = toState;
    }

    public String getToCountry() {
        return toCountry;
    }

    public void setToCountry(String toCountry) {
        this.toCountry = toCountry;
    }

    public String getToZipCode() {
        return toZipCode;
    }

    public void setToZipCode(String toZipCode) {
        this.toZipCode = toZipCode;
    }

    public String getToPhone() {
        return toPhone;
    }

    public void setToPhone(String toPhone) {
        this.toPhone = toPhone;
    }

    public String getToFax() {
        return toFax;
    }

    public void setToFax(String toFax) {
        this.toFax = toFax;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getShipmentStatus() {
        return shipmentStatus;
    }

    public void setShipmentStatus(Integer shipmentStatus) {
        this.shipmentStatus = shipmentStatus;
    }

    public Integer getServiceOption() {
        return serviceOption;
    }

    public void setServiceOption(Integer serviceOption) {
        this.serviceOption = serviceOption;
    }

    public Integer getPickupOption() {
        return pickupOption;
    }

    public void setPickupOption(Integer pickupOption) {
        this.pickupOption = pickupOption;
    }

    public Integer getDropoffOption() {
        return dropoffOption;
    }

    public void setDropoffOption(Integer dropoffOption) {
        this.dropoffOption = dropoffOption;
    }

    public Date getShipDate() {
        return shipDate;
    }

    public void setShipDate(Date shipDate) {
        this.shipDate = shipDate;
    }

    public String getPaymentTo() {
        return paymentTo;
    }

    public void setPaymentTo(String paymentTo) {
        this.paymentTo = paymentTo;
    }

    public String getOnShipEmail() {
        return onShipEmail;
    }

    public void setOnShipEmail(String onShipEmail) {
        this.onShipEmail = onShipEmail;
    }

    public String getOnDeliveryEmail() {
        return onDeliveryEmail;
    }

    public void setOnDeliveryEmail(String onDeliveryEmail) {
        this.onDeliveryEmail = onDeliveryEmail;
    }
}



